package com.portico.dept.solarch

class ReleaseDetail {

    String name;
    String buildNameVersion ;
    int iteration ;
    Date iterationCreateDate = new Date();
    Project project

    static belongsTo ={project: Project}
    static hasMany = {releaseScheduleDetails:ReleaseScheduleDetail}
  static mappedBy = [releaseScheduleDetails:'releaseSchedule']

    static constraints = {
      name (blank:false)
      buildNameVersion(blank:false, unique:true)
    }
}
